Skip to main content

Create a new withdrawal

POST - https://url.base/api/withdrawal/new
Endpoint to create a new withdrawal. To create a new withdrawal request, the request must be built with the following parameters.
(*) Required Information.
FieldTypeDescription
*amountIntegerTransaction amount
*document_idStringBeneficiary's identity document
*beneficiaryNameStringBeneficiary's full name
*beneficiaryLastNameStringBeneficiary's last name
*beneficiaryEmailStringBeneficiary's Email
*beneficiaryPhoneStringBeneficiary's phone number
*accountNumberStringBank account number
*accountInterbankStringAccount number for other banks ("Cuenta Interbancaria")
*accountTypeStringBank account type (A-C-M)
*documentTypeIntegerIt is the type of selected identity document. The code can be DN, CE,PP or RC
*bankCodeStringBank code
*dataStringIdentifier of the Withdrawal to associate. The "data" field must be unique and non-repetitive.
*confirmationURLLinkURL for transaction confirmation
*currencyStringISO currency code # Countries and currencies​
*countryStringInternational country format # Countries and currencies​​
*signStringThe signature of the parameters is unique for each transaction

Document Type​

LabelCode
DNIDN
Carnet de ExtranjeriaCE
PasaportePP
RUCRC
info

Once the user has completed the withdrawal process, ProntoPaga will return the data to the URL you specified in the urlConfirmation

Response OK​

{
"uid" : [string] // Withdrawal identifier in the system,
"status" : [string] // withdrawal status,
"data" : [string] // Additional transaction data
}

Status response​

FieldDescription
200 - 201: OKWithdrawal created successfully
401: UnauthorizedPermission denied