Create Saved Pay Card

Creates a new full payment method and token, which can be used to pay for an existing order

SecurityLimepay-SecretKey
Request
Request Body schema: application/json
required
object (PaymentAmount)
cardPaymentSourceId
required
string

PaymentSourceId of a saved card

cardCvc
string

Tokenised CVC for the card

customerId
string

Optional Customer ID to associate this full payment with. If the PaymentSourceId belongs to a Customer, this ID must match.

threeDsSessionId
string

3DS session id, optional as it is only used in extended 3DS scenarios such as Cardinal 3DS2, which performs an extended device data check cycle returning a session id that is passed to the backend as part of the payment token data

Responses
201

Success

202

PaymentActionRequired

400
401
403
404
405
406
409
422
429
500
503
post/payments/saved-card
Request samples
application/json
{
  • "paymentAmount": {
    },
  • "cardPaymentSourceId": "psrc_Zz5FyPz_YQaAoSHa",
  • "cardCvc": "string",
  • "customerId": "cust_Zz5Fx_z_YQaAoSHV",
  • "threeDsSessionId": "string"
}
Response samples
application/json
{
  • "paymentTokenId": "ptkn_Zz5Fyvz_YQaAoSHv",
  • "payCardId": "card_Zz5Fy_z_YQaAoSHw"
}
Copyright © April Solutions 2023. All right reserved.