checkout

Interac e-Transfer Checkout (New Contact)

Changed on

Initiates an Interac e-Transfer payin with a new contact. Returns the paymentId.

post/checkout/interac

Request

  • Base URL
    https://api-sandbox.coinflow.cash/api
  • URL
    https://api-sandbox.coinflow.cash/api/checkout/interac
  • Auth
    API key in header x-coinflow-auth-session-key

Request body

feePercentagenumber double

If this purchase is for a seller/submerchant where the marketplace takes a fee, this is the % fee which is taken from the subtotal amount.

jwtTokenstring

This is a token encoding the parameters for the request. Allows purchase parameters to be verified to prevent manipulation when the checkout page is presented to the user.

stellarTransactionstring

(Stellar only) Base64 XDR transaction string for executing a merchant contract call on a successful purchase.

For transaction purchases, pass the base64 XDR string created using .toXDR() on a transaction built with generated TypeScript bindings (e.g., NftClientWrapper.buildNftPurchaseTx).

For direct USDC transfers (no merchant transaction), omit this field or pass undefined.

Gas fees for the transaction will be automatically calculated and added to the total charged to the customer.

settlementType'Credits' | 'USDC'
destinationAuthKeystring

If utilizing USDC settlement to addresses other than your main merchant settlement address. Utilize this destinationAuthKey which is a JWT encoded with the information for which address to send the USDC to.

overrideChargebackProtectionDecisionboolean
doNotReviewChargebackProtectionboolean
merchantIdstring required

Merchant Identifier

emailstring

Consumer email address. Optional — used to create the Coinflow customer record. Also used as the Interac payin handle when phone is not provided.

phonestring

Consumer phone number. Optional — when provided, the Interac payin request is sent to the phone instead of the email.

firstNamestring required

Consumer first name. Required.

lastNamestring required

Consumer last name. Required

Response

Ok

paymentIdstring required

The ID of the payment that was created.

emailstring

The email the Interac e-Transfer request was sent to, if applicable.

phonestring

The phone number the Interac e-Transfer request was sent to, if applicable.

Changes

    • breaking

      request property / list-of-types was narrowed by removing types number from media type application/json

    • breaking

      the // request property type changed from number to integer, and format from double to no format

    • warning

      deleted the header request parameter x-coinflow-auth-session-key

    • info

      the endpoint scheme security sessionKey was added to the API