PT EN

Instruções de pagamento

URL base: $PUBLIC_API

O objecto

methodsarray of string · obrigatório

Payment method keys accepted for platform invoices

instructionsarray of PublicPaymentInstruction · obrigatório

Operator-configured payment details; empty when none

Mostrar atributos filhos
labelstring · obrigatório

What the value is

valuestring · obrigatório

The value to use when paying

O objecto
{
  "methods": [
    "method"
  ],
  "instructions": [
    {
      "label": "Account number",
      "value": "value"
    }
  ]
}

Obter as instruções de pagamento

Registos

GET /payment-instructions

Returns, without sign-in, the payment method keys the platform accepts for its own invoices (taken from the enabled payment connectors at runtime) and the label and value pairs the operator configured, such as account details. instructions is empty when none are configured. Responses may be cached for 5 minutes.

Devolve

200 Accepted methods and payment instructions

Mostrar atributos
methodsarray of string · obrigatório

Payment method keys accepted for platform invoices

instructionsarray of PublicPaymentInstruction · obrigatório

Operator-configured payment details; empty when none

Mostrar atributos filhos
labelstring · obrigatório

What the value is

valuestring · obrigatório

The value to use when paying

curl -X GET "$PUBLIC_API/payment-instructions"
Resposta 200
{
  "methods": [
    "method"
  ],
  "instructions": [
    {
      "label": "Account number",
      "value": "value"
    }
  ]
}