Creating a payment

The method allows you to create a payment with an arbitrary amount in the coin in which the address was connected

Creating a payment

post
Header parameters
x-api-public-keystringOptional

Public API-key

x-api-signaturestringOptional

Signing the request body with a private API-key

Content-typestringOptional

Request content type

Example: application/json
Body

The body of the request to create a payment for the payment link

merchantIdstringRequired

Merchant ID

Example: 86f1f78d-77c6-4bb1-b67c-8389218ce646
billingLinkIdstringRequired

Payment link ID

Example: 9b0838e7-54ca-4da7-9634-d497a47f9381
webhookUrlstringOptional

URL for notification of payment status change

Example: https://merchant.domain/webhooks/payment
amountstringRequired

Payment amount in the currency in which the payment link was created

Example: 10
Responses
200Success
application/json
post
POST /api-gateway/recurrents/make-payment HTTP/1.1
Host: app.apollopayment.io
Content-Type: application/json
Accept: */*
Content-Length: 178

{
  "merchantId": "86f1f78d-77c6-4bb1-b67c-8389218ce646",
  "billingLinkId": "9b0838e7-54ca-4da7-9634-d497a47f9381",
  "webhookUrl": "https://merchant.domain/webhooks/payment",
  "amount": "10"
}
200Success
{
  "success": true,
  "response": {
    "id": "d35c8663-28f2-4867-b4b0-d57a2da5eb47",
    "merchantId": "86f1f78d-77c6-4bb1-b67c-8389218ce646",
    "billingLinkId": "9b0838e7-54ca-4da7-9634-d497a47f9381",
    "webhookUrl": "https://merchant.domain/webhooks/payment",
    "amount": "10",
    "tx": null,
    "status": "INIT",
    "createdAt": "2025-06-09T13:18:29.436Z",
    "updatedAt": "2025-06-09T13:18:29.436Z"
  }
}

Last updated