GET
/
payments
/
{id}
curl --request GET \
  --url https://your_a2_service/payments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "amount": 123,
  "created_at": "2023-11-07T05:31:56Z",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "no": 123,
  "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "payment_method": "<string>",
  "status": "charged",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The id of the payment to get.

Response

200
application/json

Successful Response

Schema for payment entity.