Skip to main content
POST
/
chargeAuthorization
/
pay
Make payments using charge authorizations
curl --request POST \
  --url https://virtserver.swaggerhub.com/nickel-ace/apiv1/1.0.0/chargeAuthorization/pay \
  --header 'Content-Type: application/json' \
  --data '
{
  "payments": [
    {
      "chargeAuthorizationId": "<string>",
      "paymentLinks": [
        {
          "paymentLinkId": "<string>",
          "withdrawalDate": "2023-12-25",
          "amountCents": 123
        }
      ]
    }
  ]
}
'
{
  "paymentLinks": [
    {
      "id": "<string>",
      "name": "<string>",
      "status": "<string>",
      "url": "<string>",
      "dueDate": "<string>",
      "customerId": "<string>",
      "requestedAmountCents": 123,
      "completedAmountCents": 123,
      "paymentId": "<string>"
    }
  ],
  "errors": [
    {
      "paymentLinkId": "<string>",
      "paymentLinkName": "<string>",
      "error": "<string>"
    }
  ]
}

Body

application/json
payments
object[]
required

Array of charges to process

Response

Successful operation

Successfully processed payment links

errors
object[]

Payment links that failed to process