curl --request GET \
  --url https://api.splose.com/v1/payment-methods/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 1,
  "name": "<string>",
  "description": "<string>",
  "xeroAccountCode": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required
Required range: x > 0
Example:

1

Response

200 - application/json

Object with payment-method data.

The response is of type object.