Obter as instruções de pagamento
RegistosGET /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
methodsPayment method keys accepted for platform invoices
instructionsOperator-configured payment details; empty when none
Mostrar atributos filhos
labelWhat the value is
valueThe value to use when paying
curl -X GET "$PUBLIC_API/payment-instructions"
# Sem comando CLI equivalente; use cURL ou HTTP directo.
const res = await fetch("$PUBLIC_API/payment-instructions", {
method: "GET"
});
const data = await res.json();
import requests
res = requests.get(
"$PUBLIC_API/payment-instructions"
)
data = res.json()
req, _ := http.NewRequest("GET", "$PUBLIC_API/payment-instructions", nil)
resp, err := http.DefaultClient.Do(req)
Resposta 200
{
"methods": [
"method"
],
"instructions": [
{
"label": "Account number",
"value": "value"
}
]
}