curl --location --request POST 'https://identity.payroc.com/authorize' --header 'x-api-key: <api key>'
{"access_token": "eyJhbGc....adQssw5c","expires_in": 3600,"scope": "service_a service_b","token_type": "Bearer"}
curl-H "Content-Type: application/json"-H "Authorization: <Bearer token>"-H "Idempotency-Key: <UUID v4>"
curl --request post \--url https://api.payroc.com/v1/merchant-platforms/abc123/processing-accounts \--header 'Authorization: Bearer <access token>' \--header 'Content-Type: application/json' \--header 'Idempotency-Key: abc123' \--data '{"doingBusinessAs":"abc123","owners":[{"firstName":"David","middleName":"scott","lastName":"Simpson","dateOfBirth":"1964-03-22","address":{"address1":"1 Example Ave.","address2":"abc123","address3":"abc123","city":"Example city","state":"Illinois","country":"US","postalCode":"60056"},"identifiers":[{"type":"nationalId","value":"xxx-xx-4320"}],"contactMethods":[{"type":"email","value":"[email protected]"}],"relationship":{"equityPercentage":35.4,"title":"abc123","isControlProng":false,"isAuthorizedSignatory":false}}],"website":"abc123","businessType":"retail","categoryCode":5999,"merchandiseOrServiceSold":"abc123","businessStartDate":"2020-01-01","timezone":"Pacific/Midway","address":{"address1":"1 Example Ave.","address2":"abc123","address3":"abc123","city":"Example city","state":"Illinois","country":"US","postalCode":"60056"},"contactMethods":[{"type":"email","value":"[email protected]"}],"processing":{"transactionAmounts":{"average":89,"highest":89},"monthlyAmounts":{"average":89,"highest":89},"volumeBreakdown":{"cardPresentKeyed":47,"cardPresentSwiped":30,"mailOrTelephone":3,"ecommerce":20},"isSeasonal":false,"monthsOfOperation":["jan"],"ach":{"naics":"44-45","previouslyTerminatedForAch":false,"refunds":{"writtenRefundPolicy":false,"refundPolicyUrl":"abc123"},"estimatedMonthlyTransactions":89,"limits":{"singleTransaction":10000,"dailyDeposit":200000,"monthlyDeposit":89},"transactionTypes":["prearrangedPayment","other"],"transactionTypesOther":"anotherTransactionType"},"cardAcceptance":{"debitOnly":false,"cardsAccepted":["visa","mastercard","discover","amexOptBlue"],"specialityCards":{"americanExpressDirect":{"enabled":false,"merchantNumber":"abc123"},"electronicBenefitsTransfer":{"enabled":false,"fnsNumber":"1234567"},"other":{"wexMerchantNumber":"abc123","voyagerMerchantId":"abc123","fleetMerchantId":"abc123"}}}},"funding":{"fundingSchedule":"nextday","acceleratedFundingFee":1999,"dailyDiscount":false,"fundingAccounts":[{"type":"checking","use":"credit","nameOnAccount":"Joe Bloggs","paymentMethods":[{"type":"ach","value":{"routingNumber":"123456789","accountNumber":"1234567890"}}],"metadata":{"internalRef":"2345"}}]},"pricing":{"type":"intent","pricingIntentId":89},"signature":"requestedViaEmail","contacts":[{"type":"manager","firstName":"David","middleName":"scott","lastName":"Simpson","identifiers":[{"type":"nationalId","value":"987-65-4320"}],"contactMethods":[{"type":"email","value":"[email protected]"}]}],"metadata":{"customerId":"2345"}}'
application/json
{"processingAccountId": "12345","createdDate": "2020-09-08T12:00:00.000Z","lastModifiedDate": "2020-09-08T12:00:00.000Z","status": "entered","doingBusinessAs": "abc123","owners": [{"ownerId": 1,"firstName": "Joe","lastName": "Bloggs","link": {"rel": "owner","href": "https://api.payroc.com/v1/owners/1","method": "get"}}],"website": "abc123","businessType": "retail","categoryCode": 5999,"merchandiseOrServiceSold": "abc123","businessStartDate": "2020-01-01","timezone": "Pacific/Midway","address": {"address1": "1 Example Ave.","address2": "abc123","address3": "abc123","city": "Example city","state": "Illinois","country": "US","postalCode": "60056"},"contactMethods": [{"type": "email",}],"processing": {"merchantId": "444412365478965","transactionAmounts": {"average": 89,"highest": 89},"monthlyAmounts": {"average": 89,"highest": 89},"volumeBreakdown": {"cardPresentKeyed": 47,"cardPresentSwiped": 30,"mailOrTelephone": 3,"ecommerce": 20},"isSeasonal": false,"monthsOfOperation": ["jan"],"ach": {"naics": "44-45","previouslyTerminatedForAch": false,"refunds": {"writtenRefundPolicy": false,"refundPolicyUrl": "abc123"},"estimatedMonthlyTransactions": 89,"limits": {"singleTransaction": 10000,"dailyDeposit": 200000,"monthlyDeposit": 89},"transactionTypes": ["prearrangedPayment","other"],"transactionTypesOther": "anotherTransactionType"},"cardAcceptance": {"debitOnly": false,"cardsAccepted": ["visa","mastercard","discover","amexOptBlue"],"specialityCards": {"americanExpressDirect": {"enabled": false,"merchantNumber": "abc123"},"electronicBenefitsTransfer": {"enabled": false,"fnsNumber": "1234567"},"other": {"wexMerchantNumber": "abc123","voyagerMerchantId": "abc123","fleetMerchantId": "abc123"}}}},"funding": {"status": "enabled","fundingSchedule": "nextday","acceleratedFundingFee": 1999,"dailyDiscount": false,"fundingAccounts": [{"fundingAccountId": 123,"status": "pending","link": {"rel": "previous","method": "get","href": "<uri>"}}]},"pricing": {"link": {"rel": "pricing","href": "https://api.payroc.com/v1/processing-account/1/pricing","method": "get"}},"contacts": [{"contactId": 1,"firstName": "Joe","lastName": "Bloggs","link": {"rel": "contact","href": "https://api.payroc.com/v1/contacts/1","method": "get"}}],"signature": {"type": "requestedViaDirectLink","link": {"rel": "agreement","href": "https://us.agreementexpress.net/mv2/viewer2.jsp?docId=00000000-0000-0000-0000-000000000000","method": "get"}},"metadata": {"customerId": "2345"},"links": [{"rel": "merchantPricingAgreement","href": "https://agreementexpress.com/38765","method": "get"}]}
curl --request post \--url https://api.payroc.com/v1/processing-accounts/abc123/reminders \--header 'Authorization: Bearer <access token>' \--header 'Content-Type: application/json' \--data '{"type":"pricingAgreement"}'
application/json
{"reminderId": "1234567","type": "pricingAgreement"}