The transaction is successfully sent for money-out or already arrives on money-in
URL that the end customer will be redirected to upon successful invoice payment.
Example : https://yourcompany.com/example_item/10/success_page
.
{
"external_id": "INV0048/VIII/2022",
"amount": 8500000,
"description": "Invoice Demo #INV0048",
"invoice_duration": 86400,
"success_redirect_url" : "https://projeq.id/?status=success&external_id=INV0035/VIII/2022",
"failure_redirect_url" : "https://projeq.id/?status=failure&external_id=INV0035/VIII/2022",
"customer": {
"given_names": "John",
"surname": "Doe",
"email": "johndoe@example.com",
"mobile_number": "+6287774441111",
"addresses": [
{
"city": "Jakarta Selatan",
"country": "Indonesia",
"postal_code": "12345",
"state": "Daerah Khusus Ibukota Jakarta",
"street_line1": "Jalan Makan",
"street_line2": "Kecamatan Kebayoran Baru"
}
]
}
}