Create a custom payment method
Adds a method, after every other at checkout. A store holds up to 10. Answers the new method.
Needs the payments.write permission (Change Payment Methods).
Authorizations
A secret API key, made under Developers in the dashboard: Authorization: Bearer shoply_sk_...
Headers
A word of your own for this one change, up to 180 letters, digits, dots, dashes, underscores and colons. Sent again with the same key, the request is not carried out twice: the first answer comes back, with Idempotent-Replay: true.
Path Parameters
The store's ID. A key reaches the store it was made in: GET /key answers which.
Body
instructions: the buyer is shown how to pay. redirect: the buyer is sent to a page of yours.
instructions, redirect What the checkout calls it, up to 60 characters.
"Bank Transfer (EU)"
A line under its name at checkout, up to 160 characters.
"Two working days"
For instructions: how to pay, in Markdown, up to 300 characters. {order}, {amount}, {currency}, {email} and {store} are filled in.
For redirect: the https address the buyer is sent to, up to 1000 characters, with the same variables filled in.
Whether the buyer is asked for a reference or a proof of payment, at least one.
Whether a proof of payment is required, whatever else is sent. Needs asksProof.
Whether the checkout offers it.

