3. Pay Out Confirmation
PayOut Processing Confirmation
Since the pay out request was sucessfull, the proccess goes to processing stage. The response will be sent to the Confirmation URL specified at the pay out request. The responses would look like these bellow:
3.1 Successful Confirmation response
{
"transactionId": 7904320,
"merchantInvoiceId": "1632839298187",
"currency": "USD",
"amount": 10.00,
"convertedCurrency": "BRL",
"convertedAmount": 54.67,
"feeAmount": 0.0,
"status": 201,
"message": "success",
"customerEmail": "[email protected]",
"hash": "878F6A389131E58AE25210CE335A1A9BCB594EAE9F2",
"process": "Payout"
}3.2 Unsuccessful Confirmation response
{
"transactionId": 7904320,
"merchantInvoiceId": "1632839298187",
"currency": "USD",
"amount": 10.00,
"convertedCurrency": "BRL",
"convertedAmount": 54.67,
"feeAmount": 0.0,
"status": "failed",
"message": "failed",
"customerEmail": "[email protected]",
"hash": "878F6A389131E58AE25210CE335A1A9BCB594EAE9F2",
"process": "Payout"
} 3.3 Pay Out Confirmation Hash Seed String
The parameter Hash, allows you to confirm the veracity of all relevant information contained within the response. The Sign hash should be used to confirm the information has not be tampered. Considering a Transaction amount of 10.00 USD related to the merchant’s invoice ID ABC777 and assuming merchant’s ID is 34567 and the target customer e-mail is “[email protected]”, the seed string for hash generation would be (in that order):
merchant’s ID;
transaction’s amount with cents;
merchant’s invoice ID;
target customer e-mail
Seed string = [email protected]The same seed string should be used for all Pay Out Confirmation request.
Last updated
Was this helpful?
