CardRequest
Information required for prepaid card creation. deliveryAddress
is necessary only for physical card requests.
termsAndConditionsAccepted
and eDisclosureAccepted
- when the fields are being sent with true
, this means that the customer has accepted the Terms and Conditioins and E-disclosure. They are required part of the request when the customer is from US. They are not required for customers from another countries.
Program name provided by Paysafe.
Currency code in three-letter format ("Alpha-3").
Possible values: >= 3 characters
and <= 3 characters
If not provided, we will try to use the mobile phone provided during the customer onboarding. Mobile phone number must be in format "+11234567899".
Possible values: Value must match regular expression ^\+\d+\s?\d{1,16}$
The card PIN. For EU customers, the Card pin should be 4 digits. For US customers, they must set their card PIN via a separate REST HTTP call.
Possible values: >= 4 characters
and <= 4 characters
External card identifier in merchant system.
Possible values: non-empty
and <= 40 characters
a2322550-af91-417f-867e-681efad44b9d
The User Agent used for the request. The field should follow the official specification - https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent#syntax
Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:42.0) Gecko/20100101 Firefox/42.0
deliveryAddress object
The DeliveryAddress object will be used for the PHYSICAL
card delivery. It must be null in case of VIRTUAL
card
The first line of the address.
Possible values: >= 4 characters
and <= 40 characters
Tsarigradsko Shose 73
The second line of the address.
Possible values: <= 30 characters
floor 3
The third line of the address.
Possible values: <= 30 characters
apartment 43
Max 30 characters: letters, spaces, hyphen and period
Possible values: <= 30 characters
Sofia
Country code in ISO-3166 Alpha 2
Possible values: >= 2 characters
and <= 2 characters
BG
The field is mandatory for US Customers: 2 to 3 characters state or province abbreviation. Example: "UT"
Possible values: <= 3 characters
UT
For EU customers: maximum length 16
For US customers: Pattern: ^[a-zA-Z0-9-\ ]*$
minimum 4, maximum 10
Possible values: non-empty
and <= 16 characters
1000
The field must be present for US customers.
false
The field must be present for US customers.
false
{
"programName": "string",
"currency": "string",
"mobile": "string",
"cardPin": "string",
"externalId": "a2322550-af91-417f-867e-681efad44b9d",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:42.0) Gecko/20100101 Firefox/42.0",
"deliveryAddress": {
"address1": "Tsarigradsko Shose 73",
"address2": "floor 3",
"address3": "apartment 43",
"city": "Sofia",
"countryCode": "BG",
"state": "UT",
"postalCode": "1000"
},
"termsAndConditionsAccepted": false,
"eDisclosureAccepted": false
}