Create Payments
Payment request, used for DEPOSITS, WITHDRAWALS and REFUNDS
Reference assigned by Merchant. Will not go outside the system. Will be sent unchanged in the PaymentResponse.
payment_id=123;custom_ref=456
Payment Type
DEPOSIT
Possible values: Payment Method
BASIC_CARD
Possible values: Payment amount
11.12
Payment currency
EUR
Id of initial deposit for refunds, Id of initial recurring payment for subsequent payments
91d27876e87f4b22b3ecd53924bf973d
Description of the transaction shown to the Customer. Can be sent outside the system.
Deposit 123 via TEST shop
URL to redirect Customer after processing
https://mywebsite.com/{id}/{referenceId}/{state}/{type}
Url to receive payment status notifications
https://mywebsite.com/webhooks
Send 'true' if you want this payment to initiate recurring chain. Default is 'false'.
Send 'true' if you want to request a Pre-Authorization charge (initiate a 2-phase deposit).
To continue recurring chain, send a token from a previously initiated recurring payment.
Payment response
Bad request
Unauthorized
POST /api/v1/payments HTTP/1.1
Host: engine-sandbox.convergegate.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 42
{
"paymentType": "DEPOSIT",
"currency": "EUR"
}
{
"timestamp": "2024-09-24T20:29:11.632+00:00",
"status": 200,
"result": {
"id": "96365a23dca04a5a9bcbb0031e7b06ac",
"paymentType": "DEPOSIT",
"state": "CHECKOUT",
"currency": "GBP",
"redirectUrl": "https://gateway-domain.com/payment/96365a23dca04a5a9bcbb0031e7b06ac"
}
}
Last updated