standaloneCredit
Contains details of a standalone credit for a specific payment type
- cardObject
- rapidTransferObject
- achObject
- bacsObject
- sepaObject
card object
Card details to be used for the transaction
This is the card number used for the request.
Possible values: >= 8 characters
and <= 20 characters
4111111111111111
cardExpiry object
This is the card's expiry date.
This is the card expiry month.
Possible values: <= 12
12
This is the card expiry year.
Possible values: <= 9999
2022
This is the 3- or 4-digit security code that appears on the card following the card number.
Possible values: >= 3 characters
and <= 4 characters
, Value must match regular expression ^([0-9]{3,4})$
This is the name of the card holder.
Possible values: <= 50 characters
Suresh's card
This is type of card used for the request.
-
AM – American Express
-
DI – Discover
-
JC – JCB
-
MC – Mastercard
-
MD – Maestro
-
SO – Solo
-
VI – Visa
-
VD – Visa Debit
-
VE – Visa Electron
Possible values: [AM
, DI
, JC
, MC
, MD
, SO
, VI
, VD
, VE
]
These are the last four digits of the card used for the request.
This is the nickname the merchant has for the card holder.
These are the first 6 digits of the card Bank Identification Number (BIN), for example: the first 6 digits of the card number.
Possible values: <= 6 characters
411111
rapidTransfer object
- bacsObject
- sepaObject
bacs object
Details of the bacs account to be used for the transaction.
This is an alias for this bank account.
Possible values: <= 50 characters
Sally's Barclays Account
This is the name of the customer or company that owns the bank account.
Possible values: <= 18 characters
XYZ Company
This is the bank account number.
Possible values: <= 8 characters
98877219
This is the 6-digit sort code that identifies the financial institution and branch of the customer’s bank.
Possible values: <= 6 characters
321654
mandate objectrequired
Contains customer bank's mandate details
This is the id of the mandate that got created.
abcdc28d-486e-4b0a-bbf9-314033863542
This is the identifier of the mandate in the banking system.
ABCDEF0796
This is the status of the mandate request response.
Possible values: [PENDING
, ACTIVE
, CANCELLED
, INACTIVE
]
This is the status reason of the mandate request response.
Possible values: [MERCHANT_CANCELLED
, BANK_CANCELLED
, DECLINED
, REJECTED
, DISPUTED
, UNAUTHORIZED
, TRANSFERRED
]
MERCHANT_CANCELLED
These are the last two digits of the account number.
Possible values: <= 2 characters
11
mandates object[]
This is the id of the mandate that got created.
abcdc28d-486e-4b0a-bbf9-314033863542
This is the identifier of the mandate in the banking system.
ABCDEF0796
This is the status of the mandate request response.
Possible values: [PENDING
, ACTIVE
, CANCELLED
, INACTIVE
]
This is the status reason of the mandate request response.
Possible values: [MERCHANT_CANCELLED
, BANK_CANCELLED
, DECLINED
, REJECTED
, DISPUTED
, UNAUTHORIZED
, TRANSFERRED
]
MERCHANT_CANCELLED
sepa object
These are the details of the sepa account used for the transaction.
This is an alias for this bank account.
Possible values: <= 50 characters
Sally's Barclays Account
This is the name of the customer or company that owns the bank account.
Possible values: <= 32 characters
XYZ Company
This is the Bank Identifier Code for the consumer's bank account.
Possible values: >= 8 characters
and <= 11 characters
ABNANL2APIP
This is the International Bank Account Number for the costumer's bank account.
Possible values: >= 8 characters
and <= 34 characters
DE89370400440532013000
mandate objectrequired
Contains customer bank's mandate details
This is the id of the mandate that got created.
abcdc28d-486e-4b0a-bbf9-314033863542
This is the identifier of the mandate in the banking system.
ABCDEF0796
This is the status of the mandate request response.
Possible values: [PENDING
, ACTIVE
, CANCELLED
, INACTIVE
]
This is the status reason of the mandate request response.
Possible values: [MERCHANT_CANCELLED
, BANK_CANCELLED
, DECLINED
, REJECTED
, DISPUTED
, UNAUTHORIZED
, TRANSFERRED
]
MERCHANT_CANCELLED
These are the last two digits of the iban.
Possible values: <= 2 characters
11
mandates object[]
This is the id of the mandate that got created.
abcdc28d-486e-4b0a-bbf9-314033863542
This is the identifier of the mandate in the banking system.
ABCDEF0796
This is the status of the mandate request response.
Possible values: [PENDING
, ACTIVE
, CANCELLED
, INACTIVE
]
This is the status reason of the mandate request response.
Possible values: [MERCHANT_CANCELLED
, BANK_CANCELLED
, DECLINED
, REJECTED
, DISPUTED
, UNAUTHORIZED
, TRANSFERRED
]
MERCHANT_CANCELLED
ach object
Details of the ach account to be used for the transaction.
This is the name of the customer or company.
Possible values: <= 22 characters
XYZ Company
This is the payment type. Possible values are:
-
WEB - Website originated debit (Personal bank accounts only).
-
TEL - elephone-Initiated Entry (Personal bank accounts only).
-
PPD - Personal account debit (Personal bank accounts only).
-
CCD - Business account debit (Business bank accounts only).
Possible values: [WEB
, TEL
, PPD
, CCD
]
This is the bank account type.
Possible values: [SAVINGS
, CHECKING
, LOAN
]
This is the bank account number.
Possible values: >= 4 characters
and <= 17 characters
988772192
For USD accounts, this is the 9-digit routing number of the bank.
Possible values: >= 9 characters
and <= 9 characters
211589828
This is returned in response. It contains only last 2 digits of bank account.
Possible values: >= 2 characters
and <= 2 characters
92
bacs object
Details of the bacs account to be used for the transaction.
This is an alias for this bank account.
Possible values: <= 50 characters
Sally's Barclays Account
This is the name of the customer or company that owns the bank account.
Possible values: <= 18 characters
XYZ Company
This is the bank account number.
Possible values: <= 8 characters
98877219
This is the 6-digit sort code that identifies the financial institution and branch of the customer’s bank.
Possible values: <= 6 characters
321654
mandate objectrequired
Contains customer bank's mandate details
This is the id of the mandate that got created.
abcdc28d-486e-4b0a-bbf9-314033863542
This is the identifier of the mandate in the banking system.
ABCDEF0796
This is the status of the mandate request response.
Possible values: [PENDING
, ACTIVE
, CANCELLED
, INACTIVE
]
This is the status reason of the mandate request response.
Possible values: [MERCHANT_CANCELLED
, BANK_CANCELLED
, DECLINED
, REJECTED
, DISPUTED
, UNAUTHORIZED
, TRANSFERRED
]
MERCHANT_CANCELLED
These are the last two digits of the account number.
Possible values: <= 2 characters
11
mandates object[]
This is the id of the mandate that got created.
abcdc28d-486e-4b0a-bbf9-314033863542
This is the identifier of the mandate in the banking system.
ABCDEF0796
This is the status of the mandate request response.
Possible values: [PENDING
, ACTIVE
, CANCELLED
, INACTIVE
]
This is the status reason of the mandate request response.
Possible values: [MERCHANT_CANCELLED
, BANK_CANCELLED
, DECLINED
, REJECTED
, DISPUTED
, UNAUTHORIZED
, TRANSFERRED
]
MERCHANT_CANCELLED
sepa object
These are the details of the sepa account used for the transaction.
This is an alias for this bank account.
Possible values: <= 50 characters
Sally's Barclays Account
This is the name of the customer or company that owns the bank account.
Possible values: <= 32 characters
XYZ Company
This is the Bank Identifier Code for the consumer's bank account.
Possible values: >= 8 characters
and <= 11 characters
ABNANL2APIP
This is the International Bank Account Number for the costumer's bank account.
Possible values: >= 8 characters
and <= 34 characters
DE89370400440532013000
mandate objectrequired
Contains customer bank's mandate details
This is the id of the mandate that got created.
abcdc28d-486e-4b0a-bbf9-314033863542
This is the identifier of the mandate in the banking system.
ABCDEF0796
This is the status of the mandate request response.
Possible values: [PENDING
, ACTIVE
, CANCELLED
, INACTIVE
]
This is the status reason of the mandate request response.
Possible values: [MERCHANT_CANCELLED
, BANK_CANCELLED
, DECLINED
, REJECTED
, DISPUTED
, UNAUTHORIZED
, TRANSFERRED
]
MERCHANT_CANCELLED
These are the last two digits of the iban.
Possible values: <= 2 characters
11
mandates object[]
This is the id of the mandate that got created.
abcdc28d-486e-4b0a-bbf9-314033863542
This is the identifier of the mandate in the banking system.
ABCDEF0796
This is the status of the mandate request response.
Possible values: [PENDING
, ACTIVE
, CANCELLED
, INACTIVE
]
This is the status reason of the mandate request response.
Possible values: [MERCHANT_CANCELLED
, BANK_CANCELLED
, DECLINED
, REJECTED
, DISPUTED
, UNAUTHORIZED
, TRANSFERRED
]
MERCHANT_CANCELLED
This is the ID returned in the response. This ID can be used for future associated requests.
Possible values: <= 36 characters
25f6dadf-176a-415f-95c9-6ff39ff697ba
This is the payment type associated with the Payment Handle used for this request.
Possible values: [CARD
, BANK_TRANSFER
, ACH
]
This is the date and time the transaction was processed.
2023-01-19T10:48:04Z
billingDetails object
Customer's billing details.
Note: For single-use Payment Handles, this address information will be ignored if the paymentHandleTokenFrom parameter is included in the Payment Handle creation request and there is already address information associated with that customer.
This is the ID of the billing address, returned in the response.
Possible values: <= 36 characters
This is the status of the address.
This is the nickname the merchant has for the billing address.
Possible values: <= 50 characters
Home
This is the first line of the customer's street address.
Possible values: <= 50 characters
Street
This is the first line of the street address.
Note: Mandatory for VIPPreferred
Possible values: <= 50 characters
street1
This is the second line of the street address, if required (e.g., apartment number).
Possible values: <= 50 characters
street2
This is the city where the address is located.
Possible values: <= 40 characters
Toronto
This is the state/province/region in which the customer lives.
-
For Canada see Province Codes
-
For the United States see State Code
-
Other countries have no restrictions.
Possible values: >= 2 characters
and <= 40 characters
ON
This is the country where the address is located. See Country Codes.
Possible values: >= 2 characters
and <= 2 characters
CA
This is the zip, postal, or post code of the customer's address.
Possible values: <= 10 characters
M5H 2N2
This is the customer's telephone number.
Possible values: <= 40 characters
8765846321
This is the status of the payment handle. Possible values are:
-
INITIATED – The transaction was initiated with the downstream provider.
-
PENDING - The transaction awaiting payment service provider's response.
-
FAILED – The transaction failed due to either an error or being declined.
-
CANCELLED - The authorization request has been fully reversed.
-
EXPIRED – The transaction request is expired.
-
COMPLETED – The transaction request is completed.
-
RECEIVED – Our system has received the request and is waiting for the downstream processor’s response.
Possible values: [INITIATED
, PENDING
, FAILED
, CANCELLED
, EXPIRED
, COMPLETED
, RECEIVED
]
returnLinks object[]
This is the link type that allows different endpoints to be targeted depending on the end state of the transaction.
-
on_completed - Paysafe will return to this merchant url post successful payment.
-
on_failed - Paysafe will return to this merchant url post if payment is failed.
-
on_cancelled - Paysafe will return to this merchant url post if payment is cancelled.
-
default - The default return URL that will be used if specific status return URL is not defined.
Possible values: [default
, on_completed
, on_failed
, on_cancelled
]
This is the URI of the resource.
https://US_commerce_site/payment/return/success
This is the HTTP method.
GET
This flag indicates the environment.
- true - Production
- false - Non-Production
ISO 8601 format (UTC). This is the date and time the resource was last updated.
2023-01-19T11:33:23Z
ISO 8601 format (UTC). This is the date and time the resource was last updated.
2023-01-19T11:33:23Z
profile object
This is customer's profile details.
The customer's profile id in the system. If this is present rest all other fields are not required.
The status of customer in the system, returned in the response.
This is the reference number for the customer created by the merchant and submitted as part of the request. It must be unique for each customer.
Note: This value is mandatory when fundingTransaction is used.
Possible values: <= 10 characters
This indicates the customer's locale preference.
Note: Optional for GiroPay, Vippreferred-Direct-Registration. Not required for Paysafe Card Payouts.
Possible values: [en_US
, fr_CA
, en_GB
, en_CA
]
This is the customer’s first name.
Possible values: <= 80 characters
Venkata Suresh
This is the customer’s last name.
Possible values: <= 80 characters
Chagalamarri
This is the customer's email address.
Possible values: <= 255 characters
paysafe@gmail.com
This is the customer's phone number.
Note: Optional for GiroPay. Not required for Paysafe Card Payouts.
Possible values: <= 40 characters
1234567891
dateOfBirth object
This is the recipient's date of birth.
This is the day of birth.
Possible values: <= 31
6
This is the month of birth.
Possible values: <= 12
5
This is the year of birth.
Possible values: >= 1900
1998
Customer's mobile number.
Possible values: <= 40 characters
9846573804
This field indicates the Customer's gender.
M - Male
F - Female
Possible values: [M
, F
]
M
This field indicates the Customer's nationality.
Possible values: <= 30 characters
Indian
identityDocuments object[]
identityDocuments object[]required
This is array of 2 JSON objects.
- 1st object contains SSN
- 2nd object contains Identity document details.
- MOD1
- MOD2
Transaction identifier that can be used to reconcile this transaction with the provider gateway.
This is the merchant reference number created by the merchant and submitted as part of the request. It must be unique for each request.
Possible values: <= 255 characters
merchant ABC-444
This is the payment token generated by Paysafe that will be used for the request.
Possible values: <= 36 characters
842778a0-03a2-11e9-8eb2-f2801f1b9fd1
This is the amount of the request, in minor units. For example, to process US $10.99, this value should be 1099.
Note: The amount specified in the Credit request must match the amount specified in the Payment Handle request from which the paymentHandleToken is taken.
10098
This is the currency of the merchant account, for example, USD or CAD. See Currency Codes.
Note: The currencyCode specified in the Credit request must match the currencyCode specified in the Payment Handle request from which the paymentHandleToken is taken.
Possible values: <= 3 characters
BTC
This is the customer's IP address.
Possible values: <= 39 characters
204.91.0.12
This is a description of the transaction, provided by the merchant.
Possible values: <= 255 characters
Winning payment from Loto
This validates that this request is not a duplicate. A duplicate request is when the merchantRefNum has already been used in a previous request within the past 90 days.
true
{
"id": "25f6dadf-176a-415f-95c9-6ff39ff697ba",
"paymentType": "CARD",
"txnTime": "2023-01-19T10:48:04Z",
"billingDetails": {
"id": "string",
"status": "string",
"nickName": "Home",
"street": "Street",
"street1": "street1",
"street2": "street2",
"city": "Toronto",
"state": "ON",
"country": "CA",
"zip": "M5H 2N2",
"phone": "8765846321"
},
"status": "INITIATED",
"returnLinks": [
{
"rel": "default",
"href": "https://US_commerce_site/payment/return/success",
"method": "GET"
}
],
"liveMode": true,
"updatedTime": "2023-01-19T11:33:23Z",
"statusTime": "2023-01-19T11:33:23Z",
"profile": {
"id": "string",
"status": "string",
"merchantCustomerId": "string",
"locale": "en_US",
"firstName": "Venkata Suresh",
"lastName": "Chagalamarri",
"email": "paysafe@gmail.com",
"phone": "1234567891",
"dateOfBirth": {
"day": 6,
"month": 5,
"year": 1998
},
"mobile": "9846573804",
"gender": "M",
"nationality": "Indian",
"identityDocuments": [
{
"identityDocuments": [
{
"type": "SOCIAL_SECURITY",
"documentNumber": "SSN123456"
},
{
"type": "PASSPORT",
"documentNumber": "1234567",
"issuingCountry": "USA",
"issuingCountrySubdvision": "SA",
"expiryDate": {
"month": 12,
"year": 2022
}
}
]
}
]
},
"gatewayReconciliationId": "string",
"merchantRefNum": "merchant ABC-444",
"paymentHandleToken": "842778a0-03a2-11e9-8eb2-f2801f1b9fd1",
"amount": 10098,
"currencyCode": "BTC",
"customerIp": "204.91.0.12",
"description": "Winning payment from Loto",
"dupCheck": true,
"card": {
"cardNum": "4111111111111111",
"cardExpiry": {
"month": 12,
"year": 2022
},
"cvv": "string",
"holderName": "Suresh's card",
"cardType": "AM",
"lastDigits": "string",
"nickName": "string",
"cardBin": "411111"
}
}