Create payment

Endpoint for creating CRYPTO to FIAT payments

Create payment

POST https://papi.swapin.com/api/transactions

For self payment no receiver data is required. Depending account configuration required fields may vary.

Request Body

Name
Type
Description

coin*

String

Coin symbol

sum_eur*

Decimal

Total sum of payment in EUR

description

String

Description of the payment (6-17 alphanumeric characters)

receiver_iban

String

If empty then self payment

receiver_name

String

If empty then self payment

receiver_address_city

String

If empty then self payment

receiver_type

String

individual or business

receiver_address_street

String

Receiver street and house

receiver_address_country

String

Country code in ISO 3166-1 alpha-2

receiver_address_pcode

String

Receiver postal code

receiver_account

String

Receiver UK account number (only GBP payments)

receiver_sort_code

String

Receiver UK sort code (only GBP payments)

receiver_is_self

Boolean

payer_type*

Numeric

1 for individual and 2 for business

payer_name*

String

Payer full name

payer_email

String

Payer contact email

payer_document_type*

Numeric

1 for ID card, 2 for passport and 3 for driving license

payer_document*

String

Payer document number

payer_birthdate*

Date

Payer date of birth (only for personal). Format YYYY-MM-DD

payer_birth_country*

String

Payer birth country code in ISO 3166 Alpha-2 (only for personal)

payer_address*

String

Payer residency address (Street and house, city, postal code, country)

payer_residency_country*

String

Payer residency country code in ISO 3166 Alpha-2

payer_code*

String

Payer registration number (only for business)

payer_external_id

String(50)

Payer ID in partner system.

client_reference

String

Reference to payment in Partner system

Last updated