Create a payment provider (Zahlungsdienstleister) whose payouts reach a Bankkonto: name, seat (inland, eu, drittland) and optionally what the contract says (contract: collects, buys_claim, platform_is_customer), by a person only: a program leaves it out.
curl --request POST \ --url https://example.com/v1/commands/payment_provider.create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "dry_run": false, "origin": { "display_name": "example", "id": "example", "kind": "example" }, "payload": { "contract": null, "name": "example", "seat": "inland" }, "rationale": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”A repeated key returns the first result without running the Command again.
The Mandant a session acts on; an API-Schlüssel is bound to its own.
Request Body
Section titled “Request Body”object
Dry run: the checks of executing, then the handler in a transaction that is always rolled back; nothing is logged, sent or kept. The answer is then a BefehlPruefung (as command.check) with the handler’s result as output, not the result below.
Who or what a call comes from beyond its Actor, set by the caller (an automation, an integration): stored and hashed with the log entry, shown and filtered in the Verlauf.
object
The name a person reads in the Verlauf, 1 to 120 characters.
The caller’s own id of it, 1 to 200 characters.
What kind of caller, 1 to 40 of a-z, 0-9 and _ (for example automation, integration).
object
Why the Actor issues this; stored in the Command-Log.
Responses
Section titled “Responses”Result
object
Buys_claim: the buyer bears the risk of default.
The first day of the connection: no customer paid through it before.
Null until a person answered (payment_provider.set_contract or the Rückfrage).
What the contract with a payment provider says.
The provider collects the payments for the Unternehmer.
The provider buys the claims (factoring).
The platform is the customer itself (buys in its own name).
Every answer, the newest last.
An answer about the contract.
object
The transmitted Voranmeldungen these payouts may have changed; nothing is corrected by itself.
Every supply performed under Istversteuerung up to this day is recorded, as a person confirmed.
Customers never pay through it before the supply; null: not answered.
Payouts whose payments still count on another day than the contract says.
A payout linked to its payments on the day it was credited, while the contract counts another day (or is open): the day of each payment is taken from the provider’s report.
object
The day it counted as received so far.
Example
{ "contract": "collects", "contract_answers": [ { "contract": "collects" } ], "seat": "inland"}default
Section titled “default”Problem
object
What is wrong.
The Command the next step names, whatever the language of next_step.
What to do next.
Fields that complete the refused call when the refusal carries a proposal: merged into its payload, the same call goes through.
Example
{ "code": "validation"}