PCI Deposit Creation Endpoint
Learn how to use the PCI Deposit endpoint to create One Shot payments with credit cards
Deposit creation
POST
https://cc-api-stg.directa24.com/v3/deposits
This endpoint allows you to generate credit cards transactions by sending the Credit Card details.
Headers
Request Body
The usage of this endpoint is restricted to PCI Compliant merchants who have shared their PCI AOC certificate with their Account Manager.
V3 PCI Request
A request made through the PCI Deposit Creation endpoint works almost in the same way than the non-PCI Deposits endpoint does, with the difference being on the credit_card
object you need to send.
The transactions created using the V3 PCI endpoint will receive:
Synchronic answer confirming the result of the transaction (in case that no 3DS authentication is required), hence no notifications will be sent by default.
In case of requiring a 3DS Authentication of the payer, then the result of the transaction will be
PENDING_AUTHENTICATION
in order to trigger the corresponding flow. In this case a webhook notification will be sent to check the final status of the Deposit. Please visit Deposits with 3DS Authentication for more details.
Request Example
Response Example: Success/ Rejection / Pending Authentication
Response Fields
Response Example
For more information about Pending Authentication results, please visit Deposits with 3DS Authentication.
Response Example: Error
Response Fields
Response Example
Status reasons
Along with every REJECTED transaction, we will provide you with a reason
and a reason_code
you can use to map the error codes on your end.
Request Fields Description
Request Objects
Credit Card Object
Payer Object
Payer.address Object
Card Numbers for Testing
In the following table you will find card numbers from specific brands to test different payment flows and our systems' responses.
For all Results:
Expiration date has to be in the future (
expiration_month
+expiration_year)
cvv
: any three numeric digits.holder_name
: any name.
For Success Results in STG: any card number not listed below, will simulate a success scenario. (For example, Card Number: 4111111111111111)
Visa
Mastercard
American Express
JCB
Last updated