Generate Apple Pay Token

Generate tokenized info for Apple Wallet

Currently in Beta

This endpoint is currently in Beta in Sandbox Only. Please note that it is subject to change based on feedback from our customers.

This endpoint allows you to generate a token to automatically add the user's card to Apple Pay. To incorporate this within your app or website, include an "Add to Apple Pay" button that allows the user to easily connect to Apple Pay.

Endpoint

https://uat-api.synapsefi.com/v3.1/users/:user_id/nodes/:node_id/applepay

Path Parameter

user_id :
required
string

The user ID of the user

node_id :
required
string

The node ID of the node

Body Parameter

certificate :
required
string

your Apple Pay certificate

nonce :
required
string

your Apple Pay nonce

nonce_signature :
required
string

your Apple Pay nonce signature

Example Request

curl -X PATCH \
  https://uat-api.synapsefi.com/v3.1/users/5bfa4992c256c300b964b035/nodes/5bfae08fbab47500b2ccfc66/applepay \
  -H 'Content-Type: application/json' \
  -H 'Postman-Token: 1ba01a43-85a2-45fb-8cfd-e3fa192310c4' \
  -H 'X-SP-USER: oauth_s6hFqcdXol7v2ukPVI|e83cf6ddcf778e37bfe3d48fc78a6502062fc' \
  -H 'X-SP-USER-IP: 255.127.79.76' \
  -H 'cache-control: no-cache' \
  -d '{
    "certificate": "your applepay cert",
    "nonce": "9c02xxx2",
    "nonce_signature": "4082f883ae62d0700c283e225ee9d286713ef74"
}'

Example Response

{
    "data": "643b3ccadf7cfd994fc8fe535eafdf5285700380737b4b6dcecc6b8d6b06204454a8b8ce035a29d48b24abc650686fe6a764ac4ea57be4de87e0bd7180c16b9fe00b02a225d070570215511b8be1dbddeb9d40941979021ebac2d120d287feb91753a84ca61a50f0477ee4a918b9edc1f19935c6d728767fdba9b48ef6a9d0f5888ac0fa085bfce525a14124cf920236a1a7c397275f9f1a00f83ce11ce982d63b7fe0013ef18ab8e9f1d828a157fe64bdfed7497aaf2fc250d8b7e17be1952b86538fa09efd962111aa3b2122b91a6bb2000674d1b8f219eb06221ae66110f2e2318a79b91a13d6f319f932f5494cde02a98412a761ba2bfc532d899b43bca768f166a6d3133ab1f93b82890168dcc1b46d8b4230567258df60b63a2b016d622c578d90eb4eaec9367e090b7a0e2f2727b5eadd46",
    "public_key": "MFYwEAYHKoZIzj0CAQYFK4EEAAoDQgAEZLZ+AD0jay9XfKfjr8lKlt6VmQqf+KPWD0CDFwHrmhT7q/189xCDybS5qSL4qKRPixG4Dyt22iqw+Mx0JgT9dA=="
}

Generate Apple Pay Token


Generate tokenized info for Apple Wallet

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.