Public
Documentation Settings

sqrip

POSTGenerate a Credit

https://api.sqrip.ch/api/code

Available options for iban.iban_type

  • simple
  • qr

Allowed options for file_type

  • pdf
  • svg
  • png

Allowed options for product

payable_to optional

  • name [required, maximum 70 characters]
  • street [required, maximum 70 characters]
  • postal_code [required, maximum 16 characters]
  • city [required, maximum 35 characters]
  • country_code [required, maximum 2 characters, mininum 2 characters]
AUTHORIZATIONBearer Token
Token

<token>

HEADERS
Accept

application/json

Content-Type

application/json

Bodyraw (json)
json
{
    "iban": {
        "iban": "CH3700761045348032001",
        "iban_type": "simple"
    },
    "payable_by": {
        "name": "Markus Muster",
        "street": "Laurenzenvorstadt 11",
        "postal_code": 5000,
        "town": "Aarau",
        "country_code": "CH"
    },
    "payable_to": {
        "name": "Markus Mister",
        "street": "Laurenzenvorstadt 11",
        "postal_code": 5050,
        "city": "Aarau",
        "country_code": "CH"
    },
    "payment_information": {
        "currency_symbol": "CHF",
        "amount": 10.00,
        "message": "Rechnung #20210501",
        "due_date": "2021-06-01",
        "qr_reference": "253573889212346",
        "reference_is_set": false
    },
    "due_date": "2022-12-12",
    "lang": "de",
    "file_type": "pdf",
    "product": "Full A4",
    "source": "api"
}
Loading