PaystationdocsPaystation

List the acquirers to tokenize with, in failover order ​

GET /v1/acquirers/priorities

List the acquirers to tokenize with, in failover order

GET/v1/acquirers/priorities

Autenticação

  • Chave públicapk_…, pode ir para o navegador
  • Chave secretask_…, só no seu servidor

Envie a chave no cabeçalho Authorization: Bearer <chave>.

Parâmetros

  • payment_methodstring · query

    Defaults to `card`.

  • installmentsstring · query

    Positive integer.

  • acquirer_namestring · query
  • has_splitstring · query

    `true` lists only acquirers that support split; any other value lists all. Ignored when `offer_id` is sent.

  • offer_idstring · query (uuid)

    One of your offers; decides `has_split` from it, and on a subscription offer leaves out the card acquirers a subscription cannot renew on.

Resposta

200OK

  • namestringobrigatório
  • prioritynumberobrigatório
  • public_keystringpode ser nullobrigatório

Erros

401Missing or invalid key.
404The `offer_id` is not one of your offers (`offer_not_found`).
422A query parameter is invalid (`invalid_param`).
429Rate limited.
500Unexpected error, or `api_unavailable`.

Todo erro vem no mesmo envelope: error.type, error.code, error.message e error.request_id, também devolvido no cabeçalho X-Request-Id.