POST
/
api
/
payments
/
v3
/
payment-initiations
/
{paymentInitiationID}
/
reverse
curl --request POST \
  --url http://localhost:55001/api/payments/v3/payment-initiations/{paymentInitiationID}/reverse \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "reference": "<string>",
  "description": "<string>",
  "amount": 123,
  "asset": "<string>",
  "metadata": {}
}'
{
  "data": {
    "taskID": "<string>",
    "paymentInitiationReversalID": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

paymentInitiationID
string
required

The payment initiation ID

Body

application/json

Response

202
application/json

Accepted

The response is of type object.