curl --request GET \
--url http://localhost:55001/api/payments/v3/payment-initiations/{paymentInitiationID} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "<string>",
"connectorID": "aSDinaTvuI8gbWludGxpZnk=",
"provider": "<string>",
"reference": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"scheduledAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"type": "UNKNOWN",
"amount": 123,
"asset": "<string>",
"status": "UNKNOWN",
"sourceAccountID": "aSDinaTvuI8gbWludGxpZnk=",
"destinationAccountID": "aSDinaTvuI8gbWludGxpZnk=",
"error": "<string>",
"metadata": {}
}
}
curl --request GET \
--url http://localhost:55001/api/payments/v3/payment-initiations/{paymentInitiationID} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "<string>",
"connectorID": "aSDinaTvuI8gbWludGxpZnk=",
"provider": "<string>",
"reference": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"scheduledAt": "2023-11-07T05:31:56Z",
"description": "<string>",
"type": "UNKNOWN",
"amount": 123,
"asset": "<string>",
"status": "UNKNOWN",
"sourceAccountID": "aSDinaTvuI8gbWludGxpZnk=",
"destinationAccountID": "aSDinaTvuI8gbWludGxpZnk=",
"error": "<string>",
"metadata": {}
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
The payment initiation ID
OK
The response is of type object
.