Create deposit (credit card operations)
Media type of the body sent to the API.
application/jsonISO8601 Datetime with Timezone (yyyy-MM-dd'T'HH:mm:ssZ).
Merchant X-Login API Key.
Authorization control hash.
Unique idempotency key for ensuring that the same request is not processed more than once.
Details for creating a PCI deposit.
Country code of the deposit in ISO 3166-1 alpha-2 code format.
BRDeposit amount in the currency specified. Up to 18 integers and 2 decimal places.
1000Currency code of the amount in ISO 4217 format.
BRLNumber of installments in which the deposit will take place. *Check eligibility with your commercial contact.
1Unique deposit ID on the merchant end.
800000001Pattern: ^[A-Za-z0-9-_]*$ID of the generated subscription on your end, that will be charged to the card_identifier. This field is mandatory when creating a subscription with card_identifier.
Card Token generated with Cards SDK Without User Interface. Typically used if credit_card object is not provided.
Card Identifier generated with Cards-on-file API. Typically used if credit_card object is not provided.
Used to specify for which SubMerchant ID the deposit will be created.
Transaction description. It could be shown on the customer's credit card extract.
Test transactionValid IPv4 or IPv6 Address of the customer.
123.123.123.123Unique customer's device ID. Used to identify and prevent fraud.
knakvuejffkiebyabChoose if the deposit's fee will be paid by the customer or debited from your balance.
falseExample: falseSuccessful operation. The transaction outcome is indicated by the payment_info.result field.
Refer to the PaymentInfo schema, specifically the result field description, for detailed explanations of possible transaction statuses and their implications (e.g., SUCCESS, REJECTED, PENDING_AUTHENTICATION).
Response structure for a PCI deposit creation request.
ID of the deposit generated on our end. Store this ID for future reference.
300604089ID of the user. If you didn't send it, it is generated by us.
80000001ID of the deposit on your end. If you didn't send it, it is generated by us.
test766106146URL to display to the end-user to complete 3DS Authentication. Present if 3DS authentication is required (e.g., when payment_info.result is PENDING_AUTHENTICATION).
https://checkout.cc-stg.onekeypayments.com/authentication/MM15BgQjHVjGEpQLCYZQ1dBoMOcJuDAcBad Request - Field validation error or invalid request structure.
Last updated
Was this helpful?

