curl --request PUT \
--url https://api.sandbox.tesouro.com/finops/v1/entities/{entity_id}/payment-methods \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-finops-version: <x-finops-version>' \
--data '
{
"payment_methods": [
"sepa_credit"
],
"payment_methods_receive": [
"sepa_credit"
],
"payment_methods_send": [
"sepa_credit"
]
}
'{
"data": [
{
"direction": "receive",
"name": "SEPA Payments",
"status": "active",
"type": "sepa_credit"
}
]
}Set which payment methods should be enabled.
curl --request PUT \
--url https://api.sandbox.tesouro.com/finops/v1/entities/{entity_id}/payment-methods \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'x-finops-version: <x-finops-version>' \
--data '
{
"payment_methods": [
"sepa_credit"
],
"payment_methods_receive": [
"sepa_credit"
],
"payment_methods_send": [
"sepa_credit"
]
}
'{
"data": [
{
"direction": "receive",
"name": "SEPA Payments",
"status": "active",
"type": "sepa_credit"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Deprecated. Use payment_methods_receive instead.
1sepa_credit, us_ach, blik, card, bacs_direct_debit, bancontact, eps, giropay, ideal, p24, sepa_debit, sofort, applepay, googlepay, affirm, klarna Enable payment methods to receive money.
1sepa_credit, us_ach, blik, card, bacs_direct_debit, bancontact, eps, giropay, ideal, p24, sepa_debit, sofort, applepay, googlepay, affirm, klarna Enable payment methods to send money.
1sepa_credit, us_ach, blik, card, bacs_direct_debit, bancontact, eps, giropay, ideal, p24, sepa_debit, sofort, applepay, googlepay, affirm, klarna Successful Response
Show child attributes
Was this page helpful?