post https://api.staging.pungle.co/api/v1/collections/requests
This API endpoint allows you to create a Collection
payment in real-time.
Request
Field | Required | Type | Description |
---|---|---|---|
yes | string | Customer email address | |
first_name | yes | string | Customer first name |
last_name | yes | string | Customer last name |
amount | yes | integer | Payment amount for collection in cents |
expiry | no | string | Datetime formatted in RFC3339 |
external_tag | no | string | User defined searchable tag |
currency | yes | string | 3 letter Currency Code |
account_ref | no | string | User defined account reference (used in payment portal and for reporting) |
Response
Field | Value | Description |
---|---|---|
id | string | |
status | string | |
first_name | string | |
last_name | string | |
amount | integer | |
currency | string | |
string | ||
expiry | string | |
account_ref | string | |
external_tag | string | |
txn_id | string | |
txn_time | string | |
void_txn_id | string | |
void_txn_time | string | |
return_txn_id | string | |
return_txn_time | string | |
created_at | string |