ClientId
and API key (get a Sandbox API key for free)minSdk = 21
ClientId
and select your environment (Sandbox or Production).
Argument | Data-type | Description |
---|---|---|
logLevel | LogLevel | Use this to specify HTTP request and response log. We recommend LogLevel.None for Production build.Default value: LogLevel.None Allowed values: LogLevel.None , LogLevel.Basic |
environment | Environment | Expected backend environment.Default value: Environment.SANDBOX Allowed values: Environment.SANDBOX , Environment.PRODUCTION |
Id
of the user as the UserId
.
You must also define the currency and type of the card at this stage.
preregistrationData
defined below.
CardRegistration
) entered in the app (see Testing - Payment methods for test cards)Card
) previously returned by the Mangopay APIProperty | Type | Description |
---|---|---|
Id | string | The unique identifier of the Card Registration object. |
AccessKey | string | The secure value used when tokenizing the card. |
PreregistrationData | string | A specific value passed to the CardRegistrationURL . |
CardRegistrationURL | string | The URL to which the card details are sent to be tokenized. |
Property | Type | Description |
---|---|---|
number | string | The card number to be tokenized, without any separators. |
expirationDate | string (Format: “MMYY”) | The expiration date of the card. |
cvv | 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: