- Update the bank customer ID on an LRS bank account
Sets bank_customer_id on a customer's LRS bank account, for example to correct a value the customer entered wrongly. Any existing value is replaced. The value is checked against the rules of the account's bank.
- Production serverhttps://api.glomopay.com/api/v1/customer/{id}/bank_account/{bank_account_id}
curl -i -X PATCH \
https://api.glomopay.com/api/v1/customer/cust_68468bfcxaGo2/bank_account/acclrs_68468c03g9xt7 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"bank_customer_id": "12345678"
}'Bank customer ID updated
Unique identifier of the LRS bank account. It starts with acclrs_.
Code of the customer's bank. Must be a bank_code returned by GET /lrs/banks for your account, matched exactly and case-sensitively. An LRS order that uses this account must use a quote created for the same bank_code, or the order is rejected.
The customer's account number at that bank. Digits only, with a length inside the range that bank accepts. Returned in full, as sent, in the response. In sandbox, 50100117322072 with hdfc and 925010000230876 with axis make checkout ask for a document after the OTP; any other number skips that step. See Test it in sandbox.
{ "id": "acclrs_68468c03g9xt7", "bank_code": "hdfc", "account_number": "12345678901234", "bank_customer_id": "12345678" }