Skip to main content
POST
payments.saved-method.get

Authorizations

Authorization
string
header
required

API key: sk_live_…

Headers

Idempotency-Key
string

Optional. A retry with the same key returns the stored result.

Maximum string length: 255
Pramaan-Account
string

Optional. One of your account ids (GET /v1/accounts): run on that account, whatever your routing rules say. The response header X-Pramaan-Account names the account that ran.

Pramaan-End-User
string

Optional. Your own tag for your end user: a sticky: end_user rule keeps them on the account that first served them.

Maximum string length: 256
Pramaan-End-User-Group
string

Optional. Your end user's group, matched by rules with endUserGroup.

Maximum string length: 64

Body

application/json
savedMethodId
string
required

Saved method in your connected account.

Required string length: 1 - 128
Pattern: ^[A-Za-z0-9_-]+$

Response

The result

savedMethodId
string
required

Saved method in your connected account.

Required string length: 1 - 128
Pattern: ^[A-Za-z0-9_-]+$
type
enum<string>
required

Saved payment method kind.

Available options:
card,
bank_account,
sepa,
ach,
bacs,
unknown
last4
string

Last four characters only; no full account or card number.

Pattern: ^[0-9A-Za-z]{4}$
network
string

Card network.

Required string length: 1 - 1000
expiryMonth
integer

Card expiry month.

Required range: 1 <= x <= 12
expiryYear
integer

Card expiry year.

Required range: 2000 <= x <= 9999
countryCode
string

Account country.

Pattern: ^[A-Z]{2}$
currency
string

Account currency.

Pattern: ^[A-Z]{3}$