Post Payment Actions
We're still working on this section. More detailed information is coming soon.
Cancel Payment
We're still working on this section. More detailed information is coming soon.
Refund Payment (Credit Cards Only)
The Refund method is available exclusively for credit cards and is used to refund the original captured transaction. The funds of the captured transaction are returned to the shopper’s card/account.
- You can refund the full amount of the original transaction or a partial amount.
- Multiple refund requests are allowed, up to the total amount of the original transaction.
- A refund will only be possible if there is enough balance available in the account.
Make a POST /pay-ins/{authorizationId}/refund
request:
curl --location --request POST 'https://sandbox.unipaas.com/platform/pay-ins/{authorizationId}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer --PRIVATE_KEY--'
--data '{"amount":100}'
Capture Payment
Authorization reserves a specific amount on a card for capturing at a later date, usually within seven days.
In order to do a capture, make a POST /pay-ins/{authorizationId}/capture
request:
curl --location --request POST 'https://sandbox.unipaas.com/platform/pay-ins/{authorizationId}/capture' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer --PRIVATE_KEY--'
--data '{"amount":100}'
Get Payment Status
Make a GET /pay-ins/{authorizationId}
request:
curl --location --request GET 'https://sandbox.unipaas.com/platform/pay-ins/{authorizationId}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer --PRIVATE_KEY--'
Updated 3 months ago