Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Action

Method

End-point

Delete a Passport Payment

DELETE

/api/v1/passports/{id}

Retrieve a Passport Payment

GET

/api/v1/passports/{id}

Update Passport Payment

POST

/api/v1/passports/{id}

Create new Passport Payment

POST

/api/v1/passports/

Create New Passport Payment

type

Required

Valid Values: email, phone

customer

Required

OmniFund Customer ID

description

Optional

Text description for the payment request. Will be visible to the customer

email

Conditional

If “type” is set to email, this field indicates the destination address to send the request.

phone

Conditional

If “type” is set to phone, this field indicates the destination phone number to send the request.

country_code

Conditional

If “type” is set to phone, this field indicates the country code of the destination phone number to send the request.

poNumber

Optional

Non-indexed text field can be used by the merchant to help identify the transaction. Visible to the customer.

referenceId

Optional

Non-indexed text field can be used by the merchant to help identify the transaction. Not visible to the customer.

subTotal

Required

Amount of the transaction, minus any tax or discount amounts.

tax

Required

Tax amount applied to the transaction

discount

Required

Discount amount applied to the transaction

total

Required

Total amount of the transaction

  • No labels