FILTER BY TAG

Batch Creation Response Examples

Example: HTTP 202: Successful batch creation
{ "_links": { "self": { "href": "
https://api.smartpayfuse.barclaycard/accountupdater/v1/batches
" }, "status": { "href": "
https://api.smartpayfuse.barclaycard/accountupdater/v1/batches/15269996945240002139594385/status
" } }, batchId": "15269996945240002139594385", batchItemCount": 2 }
Example: HTTP 401: Not authorized to access resource
{ "_links": { "self": { "href": "
https://api.smartpayfuse.barclaycard/accountupdater/v1/batches
" } }, "code": "FORBIDDEN_RESPONSE", "correlationId": "c7b74452a7314f9ca28197d1084447a5", "detail": "You are not authorized to access this resource", "fields": null, "localizationKey": "cybsapi.forbidden.response", "message": "Unauthorized Access" }
Action: Verify that the credentials that you are using are correct for the environment you are accessing. Ensure that your credentials have not expired and that your authentication process is correct.
Example: HTTP 422: Failure to process request
{ "_links": { "self": { "href": "
https://api.smartpayfuse.barclaycard/accountupdater/v1/batches
" } }, "code": "VALIDATION_ERROR", "correlationId": "c7b74452a7314f9ca28197d1084447a5", "detail": "One or more fields failed validation", "fields": [ { "path": "notificationEmail", "message": "Email address provided should not be 'null'", "localizationKey": "cybsapi.ondemand.batch.email.null" } ], "localizationKey": "cybsapi.validation.error", "message": "Field validation error" }
Action: Examine the message to learn what failed validation. Verify that the structure of your JSON format is correct.