Post Transaction Data
This endpoint is used to post transaction data of a created facestamp order.
POST
https://fuspay-kyc-ms-df741b092e53.herokuapp.com/api/v1/facestamp/transaction
Request Body
Key
Type
Description
user_reference
String
the reference ID of the user
order
String
The order ID of the the facestamp order that was created.
transaction_info
object
information of the transaction perforned
sender_info
object
information of the user the performed the transaction.
source_data
object
source data of the user that formed the transaction.
meta_data
Object
The meta data of the transaction.
txn_flag_callback_url
Object
The callback url for the transaction flag.
txn_screening
Object
The screening type of the transaction.
Request Body Sample
{
"user_reference": "intrapay_ref_0011",
"order": "675af4b9f95f959b7b5d6e1e",
"transaction_info": {
"txn_amount": 1000,
"industry": "clothing",
"txn_fee": 10,
"type": "pay-in",
"payment_method": "card",
"timestamp": "2024-12-11T10:00:00Z",
"country": "Nigeria"
},
"sender_info": {
"user_id": "sender123",
"user_full_name": "Timilehin Abodunrin",
"user_phone": "2347012345678",
"user_email": "[email protected]"
},
"source_data": {
"ip_address": "192.168.1.1",
"phone_id": "123455",
"browser_agent": "Mozilla/5.0",
"location_coordinate": "6.5244,3.3792",
"source_merchant_name": "MyStore",
"source_platform": "web"
},
"meta_data": {
"key_words": "payment transaction online"
},
"txn_flag_callback_url": "https://example.com/txn-callback",
"txn_screening": {
"screening_type": "AML"
}
}
Response Body
{
"message": "Posted transaction data successfully",
"data": {
"user_reference": "intrapay_ref_0011",
"transaction_info": {
"txn_amount": 1000,
"txn_fee": 10,
"payment_method": "card",
"timestamp": "2024-12-11T10:00:00Z",
"country": "Nigeria",
"type": "pay-in"
},
"sender_info": {
"user_id": "sender123",
"user_full_name": "John Doe",
"user_phone": "2347012345678",
"user_email": "[email protected]"
},
"source_data": {
"ip_address": "192.168.1.1",
"browser_agent": "Mozilla/5.0",
"location_coordinate": "6.5244,3.3792",
"source_merchant_name": "MyStore",
"source_platform": "web"
},
"meta_data": {
"key_words": "payment transaction online"
},
"txn_flag_callback_url": "https://example.com/txn-callback",
"txn_screening": {
"screening_type": "AML"
},
"_id": "6760268aaa5e29494306b1e6",
"created_at": "2024-12-16T13:09:30.047Z",
"updated_at": "2024-12-16T13:09:30.047Z",
"__v": 0
}
}
Last updated