GET https://api.invunion.com/api/v1/payment-methods/:code payment_methods:read Markdown
Get one catalog payment method by code.
Returns the catalog instrument, including the owner counterparty and shared associations. Bank-connection rows are not returned. Identify the instrument with its code (`PM-NNN`).
Path parameters
Name
Type
Required
code
Payment method code (`code`).
Example: PM-001
string
Max 50
Required
Errors
This operation can return the following errors in addition to generic HTTP failures.
Error
HTTP code
Description
Missing Bearer token
401
The Authorization header is missing or is not a Bearer token.
Invalid or revoked API key
401
The API key is unknown, malformed, expired, or has been revoked.
API key is missing scope payment_methods:read
403
The key does not include payment_methods:read. A write scope does not imply the matching read scope.
Too many requests, please try again later
429
Wait and retry. The Retry-After header is the number of seconds to wait.
Payment method not found
404
No catalog payment method with this code exists in the authenticated tenant.
Internal server error
500
Unexpected server error. The JSON body includes correlationId. Retry with backoff.