This guide covers the process of taking your BlinkPay integration from sandbox to production.
GET /v1/consents/{consent_id}, account data retrieved with the consent_id, and revocation with DELETE /v1/consents/{consent_id} workingAcceptedSettlementCompleted is the only status treated as success (it means the payer's bank has confirmed sending the funds), never the return redirect or the consent status alonerequest-id of each callPending are followed up. Most payments move within seconds; if one is still Pending after 6 hours, contact support with the consent ID and payment IDIf using Redirect/Decoupled flows directly (not Gateway):
x-customer-ip and x-customer-user-agent headers implementedProduction access is requested from the same portal you use for sandbox, at merchants.blinkpay.co.nz.
Log in and select Upgrade to Production, in the top navigation bar or on Settings > API Settings. Anyone in your organisation can see the button, but only an Administrator can submit the application.
The application asks for your business details, the services you need, banking and billing details and a security questionnaire, then for you to review it and accept the Client Service Agreement.
BlinkPay reviews your business and integration needs. Production upgrade approval usually takes 1-3 business days.
Once approved, open Settings > API Settings and open the Production row. Copy the API Client ID, then select Rotate Secret to obtain the client secret. The portal shows the secret only once, so store it in your secret manager straight away.
Base URLs:
https://debit.blinkpay.co.nzhttps://data.blinkpay.co.nzProduction is configured separately from sandbox. Before you launch:
http:// and localhost URLs. Blink Payments: if you use Fixed Recurring Payment webhooks, create the subscription again in production; its callback URL must also be on the production whitelist.GET /payments/v1/meta; Blink Data: GET /v1/meta). See Metadata.Configure your application to use production endpoints and credentials:
https://debit.blinkpay.co.nzhttps://data.blinkpay.co.nzUse Environment Variables
Never hard-code production credentials. Always use environment variables or a secure secret management system.
Track these metrics to understand your integration performance: