Skip to main content

Creates a new payment address for the requested coin

Creates a new payment address for the requested coin

Path Parameters
id string — REQUIRED
Request Body — REQUIRED
payment_currency string — REQUIRED
Responses
200

successful operation

Schema
invoice_id string — REQUIRED
address string — REQUIRED
amount float — REQUIRED
currency string — REQUIRED
400

Error response

Schema
message string
errors object[]
resource string
code string
field string
description string
401

Error response

Schema
message string
errors object[]
resource string
code string
field string
description string
createPaymentAddress
POST /invoice/:id/payment/address
id — path
Body
payment_currency
https://api.tx.cash/invoice/v1/testnet
curl -L -X POST 'https://api.tx.cash/invoice/v1/testnet/invoice/:id/payment/address' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Accept: application/json'