ClientId
and API key (get a Sandbox API key for free)podfile
and add:
podfile
:
Id
of the user as the UserId
.
You must also define the currency and type of the card at this stage.
CardRegistration
defined below.
ClientId
and select your environment (Sandbox or Production).
CardRegistration
) previously returned by the Mangopay APICard
) entered in the app (see Testing - Payment methods for test cards)Property | Type | Description |
---|---|---|
id | string | The unique identifier of the Card Registration object. |
accessKey | string | The secure value used when tokenizing the card. |
cardRegistrationURL | string | The URL to which the card details are sent to be tokenized. |
preregistrationData | string | A specific value passed to the CardRegistrationURL . |
Property | Type | Description |
---|---|---|
cardNumber | string | The card number to be tokenized, without any separators. |
cardExpirationDate | string (Format: “MMYY”) | The expiration date of the card. |
cardCvx | string | The card verification code (on the back of the card, usually 3 digits). |
CardId
that can be used for payments.
CardId
) for pay-ins with the following objects: