---
# System prepended metadata

title: FAZZ - API V4 Payload

---

# FAZZ - API V4 Payload


One-off VA 
- request
```
{
"data": {
    "relationships": {
        "customerProfile": {
            "data": {
                "id": "customer_profile_ff9a2945-5f58-4cd3-ac6e-90ee4361bf1e"
            }
        }
    },
	"attributes": {
	  "amount": 101.0,
      "referenceId": "ORDER_0002",
      "description": "This is the first order",
      "paymentMethodType": "virtual_bank_account",
      "paymentMethodOptions": {
        "bankShortCode": "fazz"},
      "expiredAt": "2023-06-20T17:48:42+07:00"
    }
}
}
```

- repsonse
```
{
    "data": {
        "id": "order_47bc8cfc-5dea-47a5-9023-f4434eea5559",
        "type": "payment",
        "attributes": {
            "status": "pending",
            "amount": "101.0",
            "createdAt": "2022-09-05T14:35:21+08:00",
            "description": "This is the first order",
            "expiredAt": "2023-06-20T17:48:42+07:00",
            "referenceId": "ORDER_0002",
            "fees": "0.0",
            "paymentMethod": {
                "id": "ce4ef778-5b87-4f87-b8b0-6b32bc32507a",
                "type": "virtual_bank_account",
                "instructions": {
                    "bankShortCode": "FAZZ",
                    "accountNo": "5009369267401"
                },
                "referenceId": "ORDER_0002"
            }
        }
    }
}
```






Unlimited VA
Request

```
{
"data": {
    "relationships": {
        "customerProfile": {
            "data": {
                "id": "customer_profile_ff9a2945-5f58-4cd3-ac6e-90ee4361bf1e"
            }
        }
    },
	"attributes": {
		"referenceId": "unique_refff88",
		"bankShortCode": "cimb"
	}
}
}
```


Response
```
{
    "data": {
        "id": "payment_method_1228d6a2-a0f5-4613-bc02-7a0164a5fc22",
        "type": "virtual_bank_account",
        "attributes": {
            "referenceId": "unique_refff88",
            "instructions": {
                "bankShortCode": "FAZZ",
                "accountNo": "344383189127"
            }
        }
    }
}
```
