curl --request GET \
--url http://localhost:55001/api/payments/payments/{paymentId} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "XXX",
"reference": "<string>",
"sourceAccountID": "<string>",
"destinationAccountID": "<string>",
"connectorID": "<string>",
"provider": "STRIPE",
"type": "PAY-IN",
"status": "PENDING",
"initialAmount": 100,
"amount": 100,
"scheme": "unknown",
"asset": "USD",
"createdAt": "2023-11-07T05:31:56Z",
"raw": {},
"adjustments": [
{
"reference": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"status": "PENDING",
"amount": 100,
"raw": {}
}
],
"metadata": {}
}
}
curl --request GET \
--url http://localhost:55001/api/payments/payments/{paymentId} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "XXX",
"reference": "<string>",
"sourceAccountID": "<string>",
"destinationAccountID": "<string>",
"connectorID": "<string>",
"provider": "STRIPE",
"type": "PAY-IN",
"status": "PENDING",
"initialAmount": 100,
"amount": 100,
"scheme": "unknown",
"asset": "USD",
"createdAt": "2023-11-07T05:31:56Z",
"raw": {},
"adjustments": [
{
"reference": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"status": "PENDING",
"amount": 100,
"raw": {}
}
],
"metadata": {}
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
The payment ID.
OK
The response is of type object
.