Link Apple Pay Card

Adds an Apple Pay card to the withdrawer’s account which they can push funds to from the CF wallet.

The ApplePayResponseObject is decrypted and the underlying card is BIN checked to ensure it is a debit card eligible for push-to-card. Returns the token to pass as the account on the payout endpoints.

Authentication

x-coinflow-auth-user-idstring
The external identifier of the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
Authorizationstring
The API key of the merchant - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
OR
x-coinflow-auth-walletstring
The web3 wallet of the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
x-coinflow-auth-blockchainstring
The blockchain associated with the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
OR
x-coinflow-auth-session-keystring
The session key generated for the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key

Request

This endpoint expects an object.
applePayPaymentobjectRequired

Apple Pay Payment received from the Apple Pay SDK

Details can be found here: https://developer.apple.com/documentation/apple_pay_on_the_web/applepaypayment

merchantIdstringOptional

Response

Ok